import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import Pie from '@feidao/widgets/fd-wh000005';

export default async function a003(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// const target = args[0].target as HTMLSelectElement;
	// const theme = target.value;
	// console.log('-------------', theme);
	const pie = fd.data.node.querySelector<Pie>('#fd-wh000005-005');
	// console.log(pie);
	pie.setAttribute('value', JSON.stringify([{ "name": "直接访问", "value": 335 }, { "name": "邮件营销", "value": 810 }]));
}
